home *** CD-ROM | disk | FTP | other *** search
/ Aminet 28 / Aminet 28 (1998)(GTI - Schatztruhe)[!][Dec 1998].iso / Aminet / util / libs / graphics3d.lha / src / library / graphics3Dc.h < prev    next >
Encoding:
C/C++ Source or Header  |  1998-10-17  |  791 b   |  45 lines

  1. /*
  2. **      $VER: compiler.h 37.12 (29.6.97)
  3. **
  4. **      Compiler independent register (and SAS/C extensions) handling
  5. **
  6. **      (C) Copyright 1997 Andreas R. Kleinert
  7. **      All Rights Reserved.
  8. */
  9.  
  10. /* 
  11.     This is compiler.h to compile example.library with VBCC 0.5
  12. */
  13.  
  14. #define AND &&
  15. #define OR ||
  16.  
  17. #ifdef VBCC
  18.   #define d0 "d0"
  19.   #define d1 "d1"
  20.   #define d2 "d2"
  21.   #define d3 "d3"
  22.   #define d4 "d4"
  23.   #define d5 "d5"
  24.   #define d6 "d6"
  25.   #define d7 "d7"
  26.   #define a0 "a0"
  27.   #define a1 "a1"
  28.   #define a2 "a2"
  29.   #define a3 "a3"
  30.   #define a4 "a4"
  31.   #define a5 "a5"
  32.   #define a6 "a6"
  33.   #define a7 "a7"
  34. #endif
  35.  
  36. #ifdef VBCC
  37.   #define REG(register) __reg(register)
  38. /* VBCC ignore this switch */
  39.   #define __aligned
  40.   #define __asm
  41.   #define __regargs
  42.   #define __saveds
  43.   #define __stdargs
  44. #endif
  45.